import request from "../service/request";
// 判断需不需要观看广告
export function advertisingPermission() {
    return request({
        url: "/user/adInfo/advertisingPermission",
        method: "GET"
    })
}
// 创建广告记录
export function createAd(data) {
    return request({
        url: "/user/adInfo/add",
        method: "post",
        data
    })
}